package de.jowadroid.timekeeping.database;

/**
 * Data class for storing timestamps and flag for start or stop timestamp
 * 
 * @author Johannes
 */
public class Timestamp {
	
	/**
	 * <b>seconds</b> since 1970-01-01 00:00:00 UTC
	 */
	private long timestamp;
	private boolean isStartTime;

	/**
	 * @param timestamp <b>seconds</b> since 1970-01-01 00:00:00 UTC
	 */
	public Timestamp(long timestamp, boolean isStartTime) {
		this.timestamp = timestamp;
		this.isStartTime = isStartTime;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public boolean isStartTime() {
		return isStartTime;
	}
}
